/*
 * Test.cpp
 *
 *  Created on: 31.03.2011
 *      Author: marco
 */
#include <assert.h>
#include <iostream>
#include "FileSystem.h"
#include "Inode.h"

using namespace std;

//int main() {
//	FileSystem *fs = new FileSystem("/home/floppie");
//
//	Inode* inode = fs->findInodeByNumber(2);
//	assert(inode != 0);
//	assert(inode->getMode() == 040777);
//	assert(inode->getFileSize() == 816);
//	delete inode;
//
//	inode = fs->findInode("/mega");
//	assert(inode != 0);
//	cout << inode->getMode();
//	assert(inode->getMode() == 100644);
//	assert(inode->getFileSize() == 1026086);
//	delete inode;
//
//
//	cout << "All Tests completed. When you see this without any message, all tests were good!";
//	delete fs;
//	return 0;
//}
